

export function getCollectPage(data){
	 return new Promise((resolve, reject) => {  
		return uni.request({
		  url: 'imgStore/openApi/imgCollect/page', 
		  method: 'get', 
		  data: data,
		  success: (res) => {
			resolve(res.data)
		  },
		  fail: (err) => {
			reject(err)
		  }
		});
	});
}


export function getCollectDetailPage(data){
	 return new Promise((resolve, reject) => {  
		return uni.request({
		  url: 'imgStore/openApi/imgCollectDetail/page', 
		  method: 'get', 
		  data: data,
		  success: (res) => {
			resolve(res.data)
		  },
		  fail: (err) => {
			reject(err)
		  }
		});
	});
}
